Optimal. Leaf size=61 \[ a \sin (x) \cos (x) \sqrt{a \sec ^4(x)}+\frac{1}{5} a \sin ^2(x) \tan ^3(x) \sqrt{a \sec ^4(x)}+\frac{2}{3} a \sin ^2(x) \tan (x) \sqrt{a \sec ^4(x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0220653, antiderivative size = 61, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {4123, 3767} \[ a \sin (x) \cos (x) \sqrt{a \sec ^4(x)}+\frac{1}{5} a \sin ^2(x) \tan ^3(x) \sqrt{a \sec ^4(x)}+\frac{2}{3} a \sin ^2(x) \tan (x) \sqrt{a \sec ^4(x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4123
Rule 3767
Rubi steps
\begin{align*} \int \left (a \sec ^4(x)\right )^{3/2} \, dx &=\left (a \cos ^2(x) \sqrt{a \sec ^4(x)}\right ) \int \sec ^6(x) \, dx\\ &=-\left (\left (a \cos ^2(x) \sqrt{a \sec ^4(x)}\right ) \operatorname{Subst}\left (\int \left (1+2 x^2+x^4\right ) \, dx,x,-\tan (x)\right )\right )\\ &=a \cos (x) \sqrt{a \sec ^4(x)} \sin (x)+\frac{2}{3} a \sqrt{a \sec ^4(x)} \sin ^2(x) \tan (x)+\frac{1}{5} a \sqrt{a \sec ^4(x)} \sin ^2(x) \tan ^3(x)\\ \end{align*}
Mathematica [A] time = 0.0571263, size = 30, normalized size = 0.49 \[ \frac{1}{15} \sin (x) \cos (x) (6 \cos (2 x)+\cos (4 x)+8) \left (a \sec ^4(x)\right )^{3/2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.067, size = 29, normalized size = 0.5 \begin{align*}{\frac{ \left ( 8\, \left ( \cos \left ( x \right ) \right ) ^{4}+4\, \left ( \cos \left ( x \right ) \right ) ^{2}+3 \right ) \cos \left ( x \right ) \sin \left ( x \right ) }{15} \left ({\frac{a}{ \left ( \cos \left ( x \right ) \right ) ^{4}}} \right ) ^{{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.69223, size = 34, normalized size = 0.56 \begin{align*} \frac{1}{5} \, a^{\frac{3}{2}} \tan \left (x\right )^{5} + \frac{2}{3} \, a^{\frac{3}{2}} \tan \left (x\right )^{3} + a^{\frac{3}{2}} \tan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.4485, size = 101, normalized size = 1.66 \begin{align*} \frac{{\left (8 \, a \cos \left (x\right )^{4} + 4 \, a \cos \left (x\right )^{2} + 3 \, a\right )} \sqrt{\frac{a}{\cos \left (x\right )^{4}}} \sin \left (x\right )}{15 \, \cos \left (x\right )^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a \sec ^{4}{\left (x \right )}\right )^{\frac{3}{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.30526, size = 30, normalized size = 0.49 \begin{align*} \frac{1}{15} \,{\left (3 \, \tan \left (x\right )^{5} + 10 \, \tan \left (x\right )^{3} + 15 \, \tan \left (x\right )\right )} a^{\frac{3}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]